[Top] [Prev] [Next] [Bottom] [Contents]

SgeSetArgBind

Sets an argument binding for an allocated data structure which is used to execute a Stored Procedure or DSQL Object. This function is used in generating Sapphire/Web code and probably will not be used by application programmers. It is documented here so that you can understand Sapphire/Web-generated code.

Synopsis

#include "WorkingDialog.h"
void SgeSetArgBind(pSgeWorkCallData p, 
							int type_id, 
							char* argname, 
							char* argval);

Arguments

p
An allocated pSgeWorkCallData structure.
type_id
Integer specifying the argument type. (See your database vendor manuals for correct values.)
argname
Name of the Stored Procedure or DSQL Object argument.
argval
Value of the Stored Procedure or DSQL Object argument.

Return Values

None.

Description

SgeSetArgBind sets an argument binding for an allocated pSgeWorkCallData structure. If p is NULL, no action is taken. This must be called for each argument that takes a Stored Procedure or DSQL Object. The argument value and name are copied internally.

Example

pSgeWorkCallData pSgeWCD;
....
SgeSetArgBindl(pSgeWCD, 39, "@title", "The Gourmet Microwave");

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.